package com.pushbox.service;

import java.util.List;

import com.pushbox.model.GameScore;
import com.pushbox.vo.ScoreVo;

public interface GameScoreService {
	/**
	 * 获取用户游戏分数记录
	 * @param gameScore
	 * @return
	 */
	List<GameScore> getScoreListByUserAndGameID(GameScore gameScore);
	/**
	 * 上传分数
	 * @param gameScore
	 * @return
	 */
	int addGameScore(GameScore gameScore);
	
	/**
	 * 获取游戏分数排名情况
	 * @param gameId
	 * @return
	 */
	List<ScoreVo> selectMaxScoresByGameID(Integer gameId);
	
}
